import fetch from './request';
import api from './baseUrl';

export function getMenuPermission(method, data = {}) {
	return fetch({
		url: `${api.author}/getMenuPermission`,
		method,
		data
	});
}

